package com.shigu.user.service;

import lombok.Data;

import java.util.List;

/*
 * create by  过儿  2019-06-18
 *
 */
@Data
public class UserTreeNode {
    private long userId;
    private Integer num;
    private List<UserTreeNode> child;

    public UserTreeNode(long userId, Integer num, List<UserTreeNode> child) {
        this.userId = userId;
        this.num = num;
        this.child = child;
    }

    public UserTreeNode() {
    }
}
